JQuery 杂记 发表于 2019-11-12 更新于 2020-07-19 分类于 JavaScript , Jquery 阅读次数: JQuery 杂记选择器选择第一个子元素下的元素个数 1$('#maintable thead:first-child th').length;